<template>
  <div>
    <div class="container">
      <div class="menu">
        <div class="item">生鲜</div>
        <div class="item">果蔬</div>
        <div class="item">饮料</div>
      </div>
      <div class="goods_list">
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
        <div class="item">吃东西</div>
      </div>
    </div>
    <div class="footer"></div>
  </div>
</template>

<script>
    export default {
        name: "goods_menu"
    }
</script>

<style scoped>

  * {
    margin: 0;
    padding: 0;
    outline: none;
  }

  .container {
    float: left;
    width: 100vw;
    height: 100vh;
  }

  .menu {
    position: fixed;
    left: 0px;
    top: 0px;
    float: left;
    height: 100%;
    width: 80px;
    background-color: #f2f2f2;
  }

  .menu .item {
  }

  .menu .item .select {
    background-color: #ffffff;
  }

  .goods_list {
    position: absolute;
    left: 80px;
    width: calc(100vw - 80px);
    margin-bottom: 55px;
  }

  .goods_list .item {
    position: relative;
    float: left;
    height: 80px;
    margin-left: 30px;
    width: calc(100vw - 110px);
    background-color: #ffffff;
  }

  .footer {
    position: fixed;
    left: 0px;
    bottom: 0px;
    height: 55px;
    width: 100%;
    background-color: #4a4a4a;
  }
</style>
